#! venv/Scripts/python
# -*- coding: utf-8 -*-
import pygame


class BaseMapClass(pygame.Surface):
    """
    基础地图类
    """

    def __init__(self, width=600, height=600, img_url="map/WorldMap.jpg"):
        super(BaseMapClass, self).__init__(size=(width, height))
        self.ImgUrl = img_url
        self.Img = pygame.image.load(self.ImgUrl)
        self.blit(self.Img, (-25, -25))
        # print("新绘图为",(-(self.Inix) + 250),-(self.Iniy) + 275)


class AskMessage(pygame.Surface):
    def __init__(self, width=600, height=600, img_url="map/WorldMap.jpg"):
        super(AskMessage, self).__init__(size=(width, height))
        self.ImgUrl = img_url
        self.Img = pygame.image.load(self.ImgUrl)
        self.blit(self.Img, (-25, -25))
        # print("新绘图为",(-(self.Inix) + 250),-(self.Iniy) + 275)
